<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Success</title>
</head>
<body>
<h1>成功</h1>
<!--th:text将div里面的文本内容设置为-->
<div class="myDiv" id="div01" th:class="${hello}" th:id="${hello}" th:text="${hello}"></div>
<hr/>
<div th:text="${hello}"></div>
<div th:utext="${hello}"></div>
<hr>
<!--th:each每次遍历都会生产当前这个标签-->
<!--3个h4-->
<h4 th:each="user:${users}" th:text="${user}"></h4>
<hr>
<h4>
    <span th:each="user:${users}">[[${user}]]</span>
</h4>
</body>
</html>